using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Ras2ClassLib;

namespace Ras2
{
	public partial class SongDlg : Form
	{
		private Lag m_song;

		public SongDlg()
		{
			InitializeComponent();
		}

		public Lag Song
		{
			get
			{
				m_song.Name = m_txtName.Text;
				m_song.Mp3Path = m_txtMP3Path.Text;
				m_song.Description = m_txtDescription.Text;
				m_song.PerformersName = m_txtPerformer.Text;
				return m_song;
			}
			set
			{
				m_song = value;
				m_txtName.Text = m_song.Name;
				m_txtMP3Path.Text = m_song.Mp3Path; ;
				m_txtDescription.Text = m_song.Description;
				m_txtPerformer.Text = m_song.PerformersName;
			}
		}
	}
}